package com.dmap.community.rpc.fallback;

import com.dmap.community.rpc.AuthRemote;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;

@Component
public class AuthRemoteFallback implements AuthRemote {
    @Override
    public Long checkToken(@PathVariable(value = "token") String token) {
        return 0l;
    }

    @Override
    public Boolean checkMobileNum(@PathVariable(value = "phone") String phone) {
        return false;
    }
}
